package com.bw.dao;

import com.bw.bean.Student;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface StuDao {
    int adds(@Param("stu") Student stu);
    List<Student> showall();
}
